package com.hrt.bean;

import java.io.Serializable;
import java.util.*;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

/***********************************************************************
 * Module:  ROLEAccess.java
 * Author:  Administrator
 * Purpose: Defines the Class ROLEAccess
 ***********************************************************************/

/**
 * 角色权限表
 * 
 * @pdOid 63c7362d-6b37-4241-b925-d3ca3d53d74e
 */
@Entity
@Table(name = "ROLE_ACCESS")
public class RoleAccess implements Serializable {

	private static final long serialVersionUID = 1671558703929753465L;
	/** @pdOid 410f089a-3055-46dd-a9d5-23c952b29093 */
	
	@Id
	@GeneratedValue(strategy=GenerationType.AUTO)
	@Column(name="RA_ID")
	private Long id;
	/** @pdOid 69c31e32-9375-4e3b-b641-82f50f4d82a1 */
	@Column(name="ISDELETE" ,nullable=false)
	private Integer isdelete=0;

	@Column(name="ROLE_ID" ,nullable=false)
	private Long roleId;
	
	@Column(name="RES_ID" ,nullable=false)
	private Long resId;
	
	@Column(name="resName",nullable=false)
	private String resName;

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	
	public Long getId() {
		return id;
	}


	public void setId(Long id) {
		this.id = id;
	}


	public Integer getIsdelete() {
		return isdelete;
	}

	
	public Long getRoleId() {
		return roleId;
	}

	
	public void setIsdelete(Integer isdelete) {
		this.isdelete = isdelete;
	}

	

	public void setRoleId(Long roleId) {
		this.roleId = roleId;
	}

	public Long getResId() {
		return resId;
	}

	public void setResId(Long resId) {
		this.resId = resId;
	}


	public String getResName() {
		return resName;
	}


	public void setResName(String resName) {
		this.resName = resName;
	}

}
